package hamaster.jpbc.pbs;

import it.unisa.dia.gas.jpbc.Element;

public class PBSDriver {

	public static boolean verifyHash(Element hash, String hashString) {
		Element e = PBS.instance().getPairing().getZr().newElement();
		System.out.println(e.setFromBytes(hashString.getBytes()));
		return e.equals(hash);
	}

}
